﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using Petra.Gis.Drawing;
using Petra.Gis.RenderingServices.PlanarBase ;

namespace Petra.Gis.Drawing.GDIPlus
{

  public abstract class GridRenderer : Renderer
  {

    protected Graphics _outGraphic;

    public GridRenderer(MemGridMap map, Graphics g, DisplayTransformMatrix m, RenderStyle s)
      : base((MapBase)map, m, s)
    {
      _outGraphic = g;
    }


    ////inherited implementation
    //protected override PlanarMap renderMap
    //{
    //  get { return this.Map; }
    //  set
    //  {
    //    this.Map = (MemGridMap)value;
    //  }
    //}


    ////current custom implementation
    //new public MemGridMap Map
    //{
    //  get { return (MemGridMap)base.Map; }
    //  set { base.Map = value; }
    //}



    protected override RenderStyle renderStyle
    {
      get { return this.Style; }
      set { this.Style = (Style)value; }
    }


    //current custom implementation
    public Style Style
    {
      get { return (Style)base.Style; }
      set
      {
        base.Style = value;
      }
    }

  }
}
